<%@page import="com.ejuornal.bean.UserExt"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<title>个人空间</title>

<link href="css/space.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.9.0.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/WarnMessages.js"></script>
</head>
<script type="text/javascript">
/*****以下是表单验证****/
$(function(){
	
	$("#myform").validate({
	rules:{
			'user.password':{
			required:true
			},
			'password':{
			required:true,
			equalTo:'#onePsd'
			}
		}
	});
    });
    /*****以上是表单验证****/	
</script>
<style type="text/css">
div#id{
height:600px}
</style>
<body>
<jsp:include page="top-inf.jsp"></jsp:include>
<div class="all" class="id" >

		<div class="bodyge" class="id" >
		<form  id="myform"  action="user/passwordUpdate" method="post"  >
				<div class="bodyge-left" >
				    <div class="bodyge-left-a1">
					<span class="font-b">个人资料</span>
					</div>
					<div class="body-left-geren2">
						<div class="bodyge-left-gexiao">基本资料</div>
						<div class="bodyge-left-gejie">
							用户名:
							<input type="hidden" name="user.userName" value="userName2">
							${sessionScope.user.session }
							<br/>
							
							密码:
							<input id="onePsd" type="password" name="user.password"/>
							<br/>
							再次输入:
							<input  id ="twoPsd" type="password" name="password"/>
						</div>
						 
						<div class="bodyge-left-button3">
							<input type="submit" value="保存信息" />
						</div>
						<div class="bodyge-left-button2">
							<input type="reset" value="取消" />
						</div>
					</div>

				</div>
			</form>
			 
	<div class="bodyge_right">

		<div class="bodyge_right_top">

			<div class="bodyge_right_image">
				<a href="#"><img src="<%=basePath%>/${userExt.headPic}" width="70px" height="100px"> </a>
			</div>

			<div class="bodyge_right_name">
				<span class="bodyge_right_wen">75639236</span>
			</div>

			<div class="bodyge_right_names">
				<div class="bodyge_right_image2">
					<a href="#"><img src="../images/body_right_02.gif"> </a>
				</div>
				<div class="bodyge_right_image2">
					<a href="#"><img src="../images/body_right_03.gif"> </a>
				</div>
				<div class="bodyge_right_image2">
					<a href="#"><img src="../images/body_right_04.gif"> </a>
				</div>
				<a href="#"><span class="bodyge_right_wen2">退出</span> </a>
			</div>

				</div>
		  
				<div class="bodyge_right_a">
					<ul>
						<li><a href="apply-zb.jsp"><img src="../images/body_right_10.gif" align="bottom">申请主编</a></li>
						<li><a href="apply-bw.jsp"><img src="../images/body_right_10.gif" align="bottom">申请编委</a></li>
						<li><a href="Create journal.jsp"><img src="../images/body_right_10.gif" align="bottom">创建期刊</a></li>
						<li><a href="article.jsp"><img src="../images/body_right_10.gif" align="bottom">发表文章</a></li>
					</ul>
				</div>
		</div>
</div>
</div>

<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>